<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a="https://ajax4jsf.dev.java.net/ajax"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:j4j="http://javascript4jsf.dev.java.net/"
	xmlns:wiki="http://jboss.com/products/seam/wiki"
	template="template.xhtml">


	<ui:define name="content">
		<script type="text/javascript" src="../js/user/register.js"></script>
		<s:remote include="user,userAction" />

		<div id="contentMain">
		<div class="errors"><h:messages globalOnly="true" /></div>

		<p>Already a member? <s:link view="/home.seam"
			value="Click here to log in" propagation="none" /></p>

		<div id="register">
		<div class="registerHeader">只需20秒，立即加入AffectU全球领先的在线工作平台！</div>


		<div class="formRow">电子邮箱<em>*</em> <input id="user_email"
			value="" class="wide" onblur="checkEmail()" />
		<div id="user_email_validationError"></div>
		</div>

		<div class="formRow">密码<em>*</em> <input id="user_password"
			type="password" class="wide" onblur="" />
		<div class="user_password_validationError"></div>
		</div>

		<div class="formRow">确认密码<em>*</em> <input id="user_password2"
			type="password" class="wide" onblur="" />
		<div class="user_password2_validationError"></div>
		</div>


		<div class="formRow">昵称<em>*</em> <input id="user_nickName"
			value="" class="wide" onblur="" />
		<div id="user_nickeName_validationError"></div>
		</div>


		<div class="formRow"><h:graphicImage
			value="/seam/resource/captcha?#{captcha.id}" /></div>

		<div class="formRow"><h:outputLabel for="verifyCaptcha">验证码<em>*</em>
		</h:outputLabel> <h:inputText id="verifyCaptcha" value="" required="true" />
		<div class="validationError"><h:message for="verifyCaptcha" /></div>
		</div>


		<div class="buttons"><input name="submit" type="submit"
			value="同意以下使用条款，提交注册信息" class="registerButton" tabindex="9"
			onclick="userRegister();" /></div>
		<br class="clear" />
		</div>
		</div>
	</ui:define>
</ui:composition>